@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './futong.scss';
@import 'animate.css';
@import 'element-plus/dist/index.css';
body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

html.dark .svg-icon,
html.dark svg {
  fill: var(--el-text-color-regular);
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

// search面板样式
.panel,
.search {
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid var(--el-border-color-light);
  background-color: var(--el-bg-color-overlay);
  padding: 0.75rem;
  transition: all ease 0.3s;

  &:hover {
    box-shadow: 0 2px 12px #0000001a;
    transition: all ease 0.3s;
  }
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

// .el-card {
//   --el-card-border-color: var(--el-border-color-light);
//   --el-card-border-radius: 4px;
//   --el-card-padding: 20px;
//   --el-card-bg-color: var(--el-fill-color-blank);
// }

html.dark{
  --el-bg-color: rgb(41, 41, 44) !important ;
}
:root {
//   color-scheme: dark !important;
//   --el-color-primary: #409eff !important;
//   --el-color-primary-light-3: #3375b9 !important;
//   --el-color-primary-light-5: #2a598a !important;
//   --el-color-primary-light-7: #213d5b !important;
//   --el-color-primary-light-8: #1d3043 !important;
//   --el-color-primary-light-9: #18222c !important;
//   --el-color-primary-dark-2: #66b1ff !important;
//   --el-color-success: #67c23a !important;
//   --el-color-success-light-3: #4e8e2f !important;
//   --el-color-success-light-5: #3e6b27 !important;
//   --el-color-success-light-7: #2d481f !important;
//   --el-color-success-light-8: #25371c !important;
//   --el-color-success-light-9: #1c2518 !important;
//   --el-color-success-dark-2: #85ce61 !important;
//   --el-color-warning: #e6a23c !important;
//   --el-color-warning-light-3: #a77730 !important;
//   --el-color-warning-light-5: #7d5b28 !important;
//   --el-color-warning-light-7: #533f20 !important;
//   --el-color-warning-light-8: #3e301c !important;
//   --el-color-warning-light-9: #292218 !important;
//   --el-color-warning-dark-2: #ebb563 !important;
//   --el-color-danger: #f56c6c !important;
//   --el-color-danger-light-3: #b25252 !important;
//   --el-color-danger-light-5: #854040 !important;
//   --el-color-danger-light-7: #582e2e !important;
//   --el-color-danger-light-8: #412626 !important;
//   --el-color-danger-light-9: #2b1d1d !important;
//   --el-color-danger-dark-2: #f78989 !important;
//   --el-color-error: #f56c6c !important;
//   --el-color-error-light-3: #b25252 !important;
//   --el-color-error-light-5: #854040 !important;
//   --el-color-error-light-7: #582e2e !important;
//   --el-color-error-light-8: #412626 !important;
//   --el-color-error-light-9: #2b1d1d !important;
//   --el-color-error-dark-2: #f78989 !important;
//   --el-color-info: #909399 !important;
//   --el-color-info-light-3: #6b6d71 !important;
//   --el-color-info-light-5: #525457 !important;
//   --el-color-info-light-7: #393a3c !important;
//   --el-color-info-light-8: #2d2d2f !important;
//   --el-color-info-light-9: #202121 !important;
//   --el-color-info-dark-2: #a6a9ad !important;
//   --el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, 0.36), 0px 8px 20px rgba(0, 0, 0, 0.72) !important;
//   --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, 0.72) !important;
//   --el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, 0.72) !important;
//   --el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, 0.72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000 !important;
//   --el-bg-color-page: #0a0a0a !important;
  // --el-bg-color: rgb(41, 41, 44) !important ;
//   --el-bg-color-overlay: #1d1e1f !important;
//   --el-text-color-primary: #e5eaf3 !important ;
//   --el-text-color-regular: #cfd3dc !important ;
//   --el-text-color-secondary: #a3a6ad !important;
//   --el-text-color-placeholder: #8d9095 !important;
//   --el-text-color-disabled: #6c6e72 !important;
//   --el-border-color-darker: #636466 !important;
//   --el-border-color-dark: #58585b !important;
//   --el-border-color: #4c4d4f !important;
//   --el-border-color-light: #414243 !important ;
//   --el-border-color-lighter: #363637 !important ;
//   --el-border-color-extra-light: #2b2b2c !important;
//   --el-fill-color-darker: #424243 !important;
//   --el-fill-color-dark: #39393a !important;
//   --el-fill-color: #303030 !important;
//   --el-fill-color-light: #262727 !important;
//   --el-fill-color-lighter: #1d1d1d !important;
//   --el-fill-color-extra-light: #191919 !important;
//   --el-fill-color-blank: rgb(35, 35, 36) !important ;
//   --el-mask-color: rgba(0, 0, 0, 0.8) !important;
//   --el-mask-color-extra-light: rgba(0, 0, 0, 0.3) !important;

//   --menuBg: rgb(35, 35, 36) !important;
//   --menuColor: #bfcbd9 !important;
//   --menuActiveText: #f4f4f5 !important;
//   --menuHover: #263445 !important;
//   --subMenuBg: #1f2d3d !important;
//   --subMenuActiveText: #f4f4f5 !important;
//   --subMenuHover: #001528 !important;
//   --subMenuTitleHover: #293444 !important;
//   --fixedHeaderBg: #ffffff !important;
//   --tableHeaderBg: (--el-fill-color-blank) !important ;
//   --tableHeaderTextColor: var(--el-text-color-primary) !important;
}


.df{
  display: flex;
}
.fd-c{
  flex-direction: column;
}
.jc-c{
  justify-content: center;
}
.ai-c{
  align-items: center;
}
.jc-sb{
  justify-content: space-between;
}
.df-c{
  display: flex;
  justify-content: center;
  align-items: center;
}
.fw-w{
  flex-wrap: wrap;
}

.ov1{
  display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
 text-overflow: ellipsis;
-webkit-box-orient: vertical;
}